package com.weilive.platform;

import com.weilive.core.protocol.PacketError;

public class PlatformErrors {
	public static final PacketError APP_NOT_EXIST = new PacketError(1001, "App not exists!");
	public static final PacketError CLIENT_NOT_EXIST = new PacketError(1002, "Client not exists!");
	public static final PacketError SERVER_SIGN_FAILED = new PacketError(1003, "Server signature failed!");
	
	public static final PacketError USER_SIGN_FAILED = new PacketError(1101, "User signature failed!");
	public static final PacketError USER_NOT_EXIST = new PacketError(1102, "User not exists!");
	public static final PacketError USER_ALREADY_EXIST = new PacketError(1103, "User already exists!");
	public static final PacketError WRONG_PASSWORD = new PacketError(1104, "Wrong password!");
	public static final PacketError INVALID_TOKEN = new PacketError(1105, "Invalid token!");
	public static final PacketError THIRD_INVALID_CHECK = new PacketError(1106, "Invalid third platform check!");
	public static final PacketError USER_ALREADY_BIND = new PacketError(1107, "User already binding account!");
	public static final PacketError USER_BIND_ACCOUNT_EXIST = new PacketError(1108, "Acount already binding to other user!");
	public static final PacketError INVALID_ACCOUNT = new PacketError(1109, "Invalid account!");
	public static final PacketError INVALID_EMAIL = new PacketError(1110, "Invalid email!");
	public static final PacketError INVALID_PHONE = new PacketError(1111, "Invalid phone!");
	public static final PacketError INVALID_PASSWORD = new PacketError(1112, "Invalid password!");
}
